package com.cleaningcloud.cld.domain;

import java.util.Date;

import com.cleaningcloud.common.core.web.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.cleaningcloud.common.core.annotation.Excel;

/**
 * 回访信息对象 cld_revisit
 * 
 * @author cleaningcloud
 * @date 2025-06-12
 */
@Data
public class CldRevisit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 回访ID */
    private Long revisitId;

    /** 回访类型(1上门回访2电话回访3微信回访) */
    @Excel(name = "回访类型")
    private Long revisitType;

    /** 回访时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "回访时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date revisitTime;

    /** 回访人ID */
    private Long revisitPersonId;

    /** 回访人姓名 */
    @Excel(name = "回访人姓名")
    private String revisitPersonName;

    /** 回访人电话 */
    @Excel(name = "回访人电话")
    private String revisitPersonPhone;

    /** 回访图片组 */
    private String revisitImg;

    /** 回访内容 */
    @Excel(name = "回访内容")
    private String revisitContent;

    /** 0不满意 1满意 */
    @Excel(name = "评价结果")
    private Long revisitEvaluate;

    /** 评价人ID */
    private Long revisitEvaluatePersonId;

    /** 评价人名称 */
    @Excel(name = "评价人名称")
    private String revisitEvaluatePersonName;

    /** 被回访人ID */
    private Long projectAccountId;

    /** 被回访人姓名 */
    @Excel(name = "被回访人姓名")
    private String projectAccountName;

    /** 被回访人姓名 */
    @Excel(name = "被回访人电话")
    private String projectAccountPhone;

    /** 创建人ID */
    private Long createId;

    /** 创建人名称 */
    private String createName;

    /** 备注是否关闭 */
    private Long flag;

    /** 项目ID */
    private Long projectId;


    //-------------------------新增映射字段-------------------------
    //项目名称
    @Excel(name = "项目名称")
    private String projectName;
}
